package cn.alcatraz.org.mapper;

import cn.alcatraz.basic.mapper.BaseMapper;
import cn.alcatraz.org.domain.Employee;
import cn.alcatraz.org.query.EmployeeQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {


    Employee loadByUserName(String username);


    void deleteEmployeeRole(Long id);

    void saveEmployeeRole(@Param("id") Long id, @Param("ids") List<Long> roles);

    Employee loadByLogininfoId(Long logininfoId);
}
